﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LangRenGameLib.Player
{
    /// <summary>
    /// 玩家信息的基类
    /// </summary>
    class PlayerInfo
    {
        /// <summary>
        /// 玩家的ID(不可重复)
        /// </summary>
        public long ID
        {
            get;
            private set;
        }

        /// <summary>
        /// 玩家的名称(可选)
        /// </summary>
        public string Name
        {
            get;
            set;
        } = "空";

        /// <summary>
        /// 玩家的身份
        /// </summary>
        public Card.Card UseCard;

        /// <summary>
        /// 玩家所处的房间
        /// </summary>
        public Room.Room InRoom;

        public PlayerInfo(long PlayerID)
        {
            ID = PlayerID;
        }
    }
}
